#pragma once

#define __CL_ENABLE_EXCEPTIONS

#include "CL\cl.hpp"
#include <vector>

const char* oclErrorString(cl_int error);

void initializeOpenCL(std::vector<cl::Device> &devices, cl::Context &context, cl::CommandQueue &queue);
void loadProgramFromFile(std::string fileName, std::vector<cl::Device> &devices, cl::Context &context, cl::Program &program);